package cn.ztydata.teachingsystem.heaven.entity;

/**
 * 章节实体类
 * Created by chenxin on 2014/12/15.
 */
public class Chapter extends BaseEntity {
    private Long id; //ID
    private String name; //章节名称
    private Long parentId; //父节点ID
    private Integer period; //学时
    private Integer teachingMethod; //教学方法
    private Integer teachingWeek; //教学周
    private Long courseId; //课程ID

    private Boolean isParent; //是否父节点

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getPeriod() {
        return period;
    }

    public void setPeriod(Integer period) {
        this.period = period;
    }

    public Integer getTeachingMethod() {
        return teachingMethod;
    }

    public void setTeachingMethod(Integer teachingMethod) {
        this.teachingMethod = teachingMethod;
    }

    public Integer getTeachingWeek() {
        return teachingWeek;
    }

    public void setTeachingWeek(Integer teachingWeek) {
        this.teachingWeek = teachingWeek;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public Boolean getIsParent() {
        return isParent;
    }

    public void setIsParent(Boolean isParent) {
        this.isParent = isParent;
    }
}
